home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: Help on screen color needed.
- Date: 1 Feb 1996 10:27 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <1FEB199610273877@erich.triumf.ca>
- References: <4eqp7c$i47@news.duke.edu>
- NNTP-Posting-Host: erich.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <4eqp7c$i47@news.duke.edu>, huettel@psych.duke.edu (Scott Huettel) writes...
-
- >One relatively minor problem is that we are unable to
- >change the background color of the screen (e.g., make
- >the screen turn red at a particular time) using the
- >designated commands. The compiler (a new Borland compiler;
- >I am not sure of the version, offhand) suggests using the
- > setbkcolor(int) command, where int is either an integer
- >or a pre-defined color name. Unfortunately, we receive
- >error messages, such as "unknown command" or something
- >similar, when we run this portion of the code.
-
- Giving the _exact_ error message would be more helpful than saying "something
- like..."
-
- > I have included the graphic.h file per the
- >compiler's instructions, and there are no obvious
- >typos or other problems. Does anyone have a suggestion
- >as to a possible source for this error? Are there other
- >commands/ways to change the screen color in a DOS app?
-
- Did you tell the linker to search the graphics library??
-
- Look under Options/Linker (or thereabouts) in the IDE for a tick box that
- indicates the graphics library should be searched.
-
- graphic.h just tells the compiler what the graphics functions look like - you
- have to separately tell the linker to find those functions.
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-